Fix GtkFrame padding
authorMatthias Clasen <mclasen@redhat.com>
Tue, 22 Dec 2015 18:33:43 +0000 (13:33 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 22 Dec 2015 18:53:43 +0000 (13:53 -0500)
This was showing up in the app-notification in widget-factory.

gtk/gtkframe.c

index 41b094840ca3e3648872eb17e818670ae34a0796..b83317869a3787a9ff13b72d446d27f1f29e9b0e 100644 (file)
@@ -875,7 +875,7 @@ gtk_frame_real_compute_child_allocation (GtkFrame      *frame,
   GtkAllocation allocation;
   gint border_width, height;
 
-  gtk_widget_get_allocation (widget, &allocation);
+  gtk_css_gadget_get_content_allocation (priv->gadget, &allocation, NULL);
   border_width = gtk_container_get_border_width (GTK_CONTAINER (frame));
 
   if (priv->label_widget)